package com.ssm.entity;

public class Ztree {

	private String id;
	
	private String parentId;
	
	private String name;
	
	private boolean open = true;
	
	private boolean checked;
	
	private String flag;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isOpen() {
		return open;
	}

	public void setOpen(boolean open) {
		this.open = open;
	}

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Ztree [id=").append(id).append(", parentId=")
				.append(parentId).append(", name=").append(name)
				.append(", open=").append(open).append(", checked=")
				.append(checked).append(", flag=").append(flag).append("]");
		return builder.toString();
	}
}
